<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="派发" name="dispatch">
      <Dispatch></Dispatch>
    </el-tab-pane>
    <el-tab-pane label="归还" name="return">
      <Return></Return>
    </el-tab-pane>

  </el-tabs>
</template>

<script setup>
  import Dispatch from "./borrow/index.vue";
  import Return from "./return/index.vue";
  const activeName = ref('dispatch');

</script>

<style lang="scss" scoped>
.app-container {
  display: flex;
  flex-direction: column;
  height: 92vh;
  overflow: hidden;
}

.vxe-table {
  flex: 1;
  overflow: auto;
}

.pagination-container {
  display: flex;
  justify-content: flex-end;
}
</style>
